#!/usr/bin/python
# -*- coding: utf8 -*- 
class Shaders:
	
	def VERTEX(self):
		return """
		#version 330
		uniform mat4 modelview;
		attribute vec4 vColor;
		varying vec4 color;
		attribute vec2 vTexCoord;
		varying vec2 texCoord;
		layout(location = 0) in vec4 position;
		void main()
		{
			gl_Position = modelview * position;
			color = vColor;
			texCoord = vTexCoord;
		}
		"""
		
	def FRAGMENT(self):
		return """
		#version 330
		out vec4 outputColor;
		in  vec4 color;
		varying vec2 texCoord;
		uniform sampler2D texture;

		void main()
		{
			outputColor =texture2D( texture, texCoord );
		}
		"""
		